﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DoctorIndex.aspx.cs" Inherits="Page_Community_DoctorIndex" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="format-detection" content="telephone=no" />
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
    <title>咨询患者</title>
    <meta name="apple-touch-fullscreen" content="yes" />
    <meta content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />


    <script src="../../Scripts/jquery-1.8.0.min.js"></script>
    <script src="../../Scripts/slick.min.js"></script>
    <script src="../../Scripts/viewport.js"></script>
    <link href="../../CSS/community-info.css" rel="stylesheet" />
    <link href="../../CSS/slick.css" rel="stylesheet" />
    <link href="../../CSS/base-640.css" rel="stylesheet" />
    <link href="../../CSS/reset.css" rel="stylesheet" />
    <link href="../../CSS/public1.css" rel="stylesheet" />
    <style>
        footer {
            position: fixed;
            bottom: 0;
            width: 640px;
            margin: 0 auto;
            padding: 10px 0 10px;
            background: #fff;
            border-top: 1px solid #ddd;
        }

            footer a {
                float: left;
                width: 310px;
                font-size: 32px;
                color: #999;
                text-align: center;
            }

                footer a .font {
                    display: block;
                    font-size: 40px;
                    margin-bottom: 3px;
                }

                footer a.at {
                    color: #d8261c;
                }
    </style>
</head>
<body>
    <div class="container clearfix">
        <div class="comment">
            <div class="return-comment">
                <%if (CommunityTopicList != null)
                    {%>
                <ul id="shareList">
                    <%foreach (var item in CommunityTopicList)
                        { %>
                    <li class="clearfix" onclick="window.open('TopicDetial.aspx?topicId=11&openid=<%=openid %>','_self')">
                        <img src="<%=item.HeadImg %>">
                        <span class="name"><%=item.Name %></span>
                        <span class="number">(+<%=item.Number %>)</span>
                        <p class="time"><%=item.AddTime %></p>
                        <p class="mes"><%=item.Contents %></p>
                        <%if (!string.IsNullOrEmpty(item.imgs))
                            {%>
                        <ul class="user-pic-list clearfix">
                            <% var imgList = item.imgs.Split(',');
                                foreach (var items in imgList)
                                {%>
                            <li class="ng-scope">
                                <div class="img">
                                    <img src="<%=items %>">
                                </div>
                            </li>
                            <%}%>
                        </ul>
                        <% } %>
                    </li>
                    <% } %>
                </ul>
                <% }
                    else
                    {%>
                <div class="no_record noneData" style="">
                    <div>
                        <img src="http://cdn.xsmore.com/Images/Shop/no-data-icon.png"><br>
                        无咨询记录
                    </div>
                </div>
                <% }%>
            </div>
        </div>

    </div>

    <footer class="">
        <a href="#" class="link1 at">咨询列表</a>
        <a href="#" class="link1">最新咨询</a>
    </footer>

</body>


<script type="text/javascript">

    $('.link1').on('click', function () {
        $(".link1").removeClass('at');
        $(this).addClass('at');
    });

</script>

</html>

